
import type { TableConfigType } from '@/components/myTable/type'


export const tableConfig: TableConfigType = {
    tableItem: [
        { label: 'ID', prop: 'id', align: 'center' },
        { label: '菜单名称', prop: 'name', align: 'center' },
        { label: '路由地址', prop: 'url', align: 'center' },
        { label: '路由图标', prop: 'custom', slotName: "icon", align: 'center' },
    ],
    rowKey: "id",
    showPagination: false,
    showIndex: true,
    showExportBtn: false,
    operateColumnConfig: {
        width: '250',
        align: 'left',
        fixed: 'right'
    },
    permission: {
        edit: 'edit',
        view: 'view',
        add: 'add',
        del: 'delete',
        update: "update"
    }
}



